#if MSC_VER >=1000
    #pragma execution_character_set("UTF-8")
#endif

#ifndef SONGLIST_H
#define SONGLIST_H

#include"tsngsong.h"

#include<vector>


class SongList
{
public:
    SongList();

    static SongList parseFromJSON(QString jstr);

    std::vector<TSNGSong> & getResult();
    void setCode(int code );


    int getCode();



private:
    std::vector<TSNGSong> results;
    int code;
};

#endif // SONGLIST_H
